﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;

using ProjectBase.Core;
using ProjectBase.Core.Web;

namespace $safeprojectname$.Models
{
    /// <summary>
    ///     Model used by ButtonsWC (WebControl) on MasterPage
    ///     Declared properties are sufficient for ButtonsWC.ascx 
    ///     (which is part of MasterPage layout) to work
    /// </summary>
    public class ButtonsModel : CoreModel, IButtonsModel
    {
        IList<IButtonItem> _buttons = new List<IButtonItem>();

        #region IButtonsModel Members
        /// <summary>
        ///     Buttons in the list, used on ButtonsWC.ascx
        /// </summary>
        public virtual IList<IButtonItem> Buttons
        {
            get { return _buttons; }
            set { _buttons = value; }
        }
        #endregion
    }
}